
public class RentPayment extends AbstractPayment
{
   public RentPayment(CustomerAccount customer)
   {
      super(customer);
   }
   
   public double getPayment(Item item)
   {
      return calculatePayment(item.getPrice());
   }
}
